
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script type="text/javascript" src="js/jquery-1.7.2.js"></script>
    <script type="text/javascript">

        var test=function () {
          document.getElementById("code_img").setAttribute("src","http://localhost:8080/captcha.jpg");
        }

    </script>


</head>
<body>

<form action="http://localhost:8080/book_servlet_war_exploded/hello">

    <input type="submit">
</form>


<form action="http://localhost:8080/client/RegisterController" method="get">


    用户名:<input type="text" name="username"> <br/>
    密码:<input type="password" name="password"><br/>
    验证码:<input type="text" name="code" />
    <img onclick="test()" id="code_img"  src="http://localhost:8080/captcha.jpg" alt="" style="width: 100px;height: 28px"/> <br/>
    <input type="submit" value="登陆">
</form>



</body>
</html>